package com.ctshk.rpc.order.tour.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 审批ID req
 */
@Data
@ApiModel(value = "RemainCheckReq",description = "余位校验Req")
public class RemainCheckReq implements Serializable {

    @NotNull(message = "团期ID不能为空")
    @ApiModelProperty(value = "团期id",required = true)
    private Long id;

    @NotNull(message = "旅客数量不能为空")
    @ApiModelProperty(value = "旅客数量",required = true)
    private Long num;
}
